package com.luych.toolbox.data.service.entity;

import com.luych.toolbox.common.enums.DataSourceType;
import com.luych.toolbox.data.service.core.CoreDataType;

public class DataTypeSetting {

    private final DataSourceType dataSourceTypeFrom;
    private final CoreDataType dataTypeFrom;
    private final DataSourceType dataSourceTypeTo;
    private final CoreDataType dataTypeTo;

    public DataTypeSetting(DataSourceType dataSourceTypeFrom, CoreDataType dataTypeFrom,
                           DataSourceType dataSourceTypeTo, CoreDataType dataTypeTo) {
        this.dataSourceTypeFrom = dataSourceTypeFrom;
        this.dataTypeFrom = dataTypeFrom;
        this.dataSourceTypeTo = dataSourceTypeTo;
        this.dataTypeTo = dataTypeTo;
    }

    public DataSourceType getDataSourceTypeFrom() {
        return dataSourceTypeFrom;
    }

    public CoreDataType getDataTypeFrom() {
        return dataTypeFrom;
    }

    public DataSourceType getDataSourceTypeTo() {
        return dataSourceTypeTo;
    }

    public CoreDataType getDataTypeTo() {
        return dataTypeTo;
    }
}